<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class Department extends Model
{
    public $table = 'nav_department';

    public function typelist(){

        return $this->hasMany('App\Type','depart_id','id');
    }
}
